package io.terminus.spzx.manager.service.impl;

import io.terminus.spzx.manager.mapper.ProductUnitMapper;
import io.terminus.spzx.manager.service.ProductUnitService;
import io.terminus.spzx.model.entity.base.ProductUnit;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author lichunlong lcl253137@alibaba-inc.com
 * @Desc 商品计量单位Service实现类
 * @Date 2024-10-11
 */
@Service
@RequiredArgsConstructor
public class ProductUnitServiceImpl implements ProductUnitService {

    private final ProductUnitMapper productUnitMapper;

    @Override
    public List<ProductUnit> findAll() {
        return productUnitMapper.findAll();
    }
}
